package com.cy.sca.notice.controller;

import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;

/**
 * @ClassName SmsController
 * @Description:类描述
 * @Author Tedu
 * @Date 2021/6/9 9:14
 * @Version V1.0
 **/
@RestController
@RequestMapping("/notice/")
public class NoticeController {
    @PostMapping("/sms/send")
    public String doSendCodeMsg(@RequestBody Map<String, Object> msg){
        System.out.println("notice msg="+msg);
        return "send ok";
    }
    @PostMapping("/log/record")
    public String doLoginfo(@RequestBody Map<String, Object> log){
        System.out.println("notice.log="+log);
        return "log ok";
    }
}
